package aggregation.pojo;

import java.math.BigDecimal;
import java.util.Date;

import com.github.dabai.aggregation.IAggregatingInput;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class ProfitInput implements IAggregatingInput {
	protected Date complete_time;// 订单支付时间 yyyy-mm-dd hh:mm:ss pay_info_ref>complete_time 支付数据中的支付完成时间
	protected String channel;// 渠道 channel
	protected Integer applyType;// 退款类型 1自愿 2非自愿 serv_order_ref>applyReason 通过applyReason判断自愿或者非自愿
	protected int relatedPassengers;// 退款人数 serv_order_ref>relatedPassengers 退票id计数
	protected BigDecimal profit;

	public ProfitInput(Date complete_time, String channel, Integer applyType, int relatedPassengers,
			BigDecimal profit) {
		super();
		this.complete_time = complete_time;
		this.channel = channel;
		this.applyType = applyType;
		this.relatedPassengers = relatedPassengers;
		this.profit = profit;
	}

	public ProfitInput() {
		super();
	}
}
